<?php

namespace Admin\Controller;

use Common\Controller\AdminbaseController;
use Common\Model\LiveWemeModel;
include 'ApiInterfacecontroller.class.php';
/**
 * Description of WemeController
 *
 * @author
 */
 class Api extends AdminbaseController implements ApiInterface{
     private $lengthOfService = 5; // 工龄   
 public function getLengthOfService(){  
  return $this->lengthOfService;  
 } 
//    protected function _search() {
//        $map = array();
//
//        ($id = $this->_request('id', 'trim')) && $map['id'] = $id;
//
//        $this->assign('search', array(
//            'keyword' => $keyword,
//            'id' => $_GET['id'],
//        ));
//        return $map;
//    }
//
//    protected function _request($parama) {
//
//
//
//        return $_GET[$parama];
//    }

}
